package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class Job implements Serializable {
    private Integer id;

    /**
	* 公司id
	*/
    private Company company;

    /**
	* 职位所属行业id
	*/
    private Industry industry;

    /**
	* 职位名称
	*/
    private String name;

    /**
	* 工作性质id
	*/
    private Nature natures;

    /**
	* 薪资范围id
	*/
    private Money money;

    /**
	* 工作城市id
	*/
    private City city;

    /**
	* 工作省份id
	*/
    private Province province;

    /**
	* 工作经验要求id
	*/
    private ExRequire exRequire;

    /**
	* 工作学历要求id
	*/
    private Degree degree;

    /**
	* 福利待遇
	*/
    private String treatment;

    /**
	* 职位描述
	*/
    private String describe;

    /**
	* 联系人电话
	*/
    private String contactsTel;

    /**
	* 简历投递邮箱
	*/
    private String email;

    /**
	* 是否热门
	*/
    private Boolean hot;

    /**
	* 是否推荐
	*/
    private Boolean recommend;

    /**
	* 收到的简历数量
	*/
    private Integer resumeCount;

    /**
	* 浏览次数
	*/
    private Integer lookCount;

    /**
	* 发布时间
	*/
    private Timestamp inputTime;

    /**
	* 更新时间
	*/
    private Timestamp updateTime;
    private  String time;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Industry getIndustry() {
        return industry;
    }

    public void setIndustry(Industry industry) {
        this.industry = industry;
    }

    public Nature getNatures() {
        return natures;
    }

    public void setNatures(Nature natures) {
        this.natures = natures;
    }

    public Money getMoney() {
        return money;
    }

    public void setMoney(Money money) {
        this.money = money;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public ExRequire getExRequire() {
        return exRequire;
    }

    public void setExRequire(ExRequire exRequire) {
        this.exRequire = exRequire;
    }

    public Degree getDegree() {
        return degree;
    }

    public void setDegree(Degree degree) {
        this.degree = degree;
    }

    public String getTreatment() {
        return treatment;
    }

    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getContactsTel() {
        return contactsTel;
    }

    public void setContactsTel(String contactsTel) {
        this.contactsTel = contactsTel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getHot() {
        return hot;
    }

    public void setHot(Boolean hot) {
        this.hot = hot;
    }

    public Boolean getRecommend() {
        return recommend;
    }

    public void setRecommend(Boolean recommend) {
        this.recommend = recommend;
    }

    public Integer getResumeCount() {
        return resumeCount;
    }

    public void setResumeCount(Integer resumeCount) {
        this.resumeCount = resumeCount;
    }

    public Integer getLookCount() {
        return lookCount;
    }

    public void setLookCount(Integer lookCount) {
        this.lookCount = lookCount;
    }

    public Timestamp getInputTime() {
        return inputTime;
    }

    public void setInputTime(Timestamp inputTime) {
        this.inputTime = inputTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", company=").append(company);
        sb.append(", industry=").append(industry);
        sb.append(", name=").append(name);
        sb.append(", nature=").append(natures);
        sb.append(", money=").append(money);
        sb.append(", cityId=").append(city);
        sb.append(", province=").append(province);
        sb.append(", exRequire=").append(exRequire);
        sb.append(", degree=").append(degree);
        sb.append(", treatment=").append(treatment);
        sb.append(", describe=").append(describe);
        sb.append(", contactsTel=").append(contactsTel);
        sb.append(", email=").append(email);
        sb.append(", hot=").append(hot);
        sb.append(", recommend=").append(recommend);
        sb.append(", resumeCount=").append(resumeCount);
        sb.append(", lookCount=").append(lookCount);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}